/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.guobo.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 展会展馆中间表Entity
 * @author wudavid
 * @version 2017-05-10
 */
public class ExbExh extends DataEntity<ExbExh> {
	
	private static final long serialVersionUID = 1L;
	private String pkExbtionId;		// 展会id
	private String pkExhallId;		// 展馆id
	private ExhHall exhHall;        //展馆
	private Exhibition exhibition;  //展会
	
	public ExhHall getExhHall() {
		return exhHall;
	}

	public void setExhHall(ExhHall exhHall) {
		this.exhHall = exhHall;
	}

	public Exhibition getExhibition() {
		return exhibition;
	}

	public void setExhibition(Exhibition exhibition) {
		this.exhibition = exhibition;
	}

	public ExbExh() {
		super();
	}

	public ExbExh(String id){
		super(id);
	}

	@Length(min=0, max=64, message="展会id长度必须介于 0 和 64 之间")
	public String getPkExbtionId() {
		return pkExbtionId;
	}

	public void setPkExbtionId(String pkExbtionId) {
		this.pkExbtionId = pkExbtionId;
	}
	
	@Length(min=0, max=64, message="展馆id长度必须介于 0 和 64 之间")
	public String getPkExhallId() {
		return pkExhallId;
	}

	public void setPkExhallId(String pkExhallId) {
		this.pkExhallId = pkExhallId;
	}
	
}